package com.fenyin.samples.study.jdk.collections.map;  

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
  
public class LinkLRUCacheTest {
	private static final Log log = LogFactory.getLog(LinkLRUCacheTest.class);
	
	public static void main(String[] args){
		LinkLRUCache<String,String> cache = new LinkLRUCache<String,String>(4,1000);
		cache.put("fzc1", "fzc-value-1");
		cache.put("fzc2", "fzc-value-2");
		cache.put("fzc3", "fzc-value-3");
		cache.put("fzc4", "fzc-value-4");
		cache.put("fzc5", "fzc-value-5");
		cache.put("fzc6", "fzc-value-6");
		cache.put("fzc7", "fzc-value-7");
		log.info(cache.get("fzc7"));
	}
}
